package &package&.&FolderName&.controller;

import java.util.HashMap;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
 
import &package&.&FolderName&.model.&objectname&;
import &package&.&FolderName&.service.&objectname&Service;
import com.link.base.basic.controller.BasicController;
import com.link.base.basic.controller.BasicControllerException;
import com.link.base.basic.service.BasicService;
import com.link.base.basic.service.KeyGenerateService;

@Controller("&objectname&Controller")
@RequestMapping("/link/&objectname&")
public class &objectname&Controller extends BasicController<ServiceProject>{
 
	@Resource
	private KeyGenerateService keyGenerateService;

	@Resource
	private &objectname&Service &LFobjectname&Service;

	@Override
	public BasicService<&objectname&> getBasicService() throws Exception {
		return &LFobjectname&Service;
	}	 
}
